import {simpleGet, simplePost} from "@/utils/request";

export const getGoodsPaginate = (params: Record<string, any> = {}) => {
    return simpleGet("/store.goods/index", params)
}

export const getGoodsDetail = (id:number) => {
    return simpleGet("/store.goods/edit", {id:id})
}

export const getGoodsList = (params:Record<string, any>) => {
    return simpleGet("/store.goods/list", params)
}

export const getUniGoodsLimit  = (params:Record<string, any>) => {
    return simpleGet("/store.uniShow/goodsLimit", params)
}

